package com.ruoyi.common.core.domain.heytalk.dto;

import com.ruoyi.common.annotation.heytalk.EnumValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 移入、移除 黑名单入参DTO
 * @author zhusy
 * @since 2021/11/10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("移入、移除 黑名单入参DTO")
public class FriendSetBlackDTO {

    @ApiModelProperty(value = "朋友ID", name = "id", required = true)
    @NotBlank(message = "朋友ID不能为空")
    private String friendId;

    @ApiModelProperty(value = "是否加入黑名单：0否1是", name = "isBlack", required = true)
    @NotNull(message = "是否加入黑名单参数为必填")
    @EnumValue(intValues = {0, 1})
    private Integer isBlack;

}
